package io.admin.modules.sys.dao;


import io.admin.modules.sys.entity.ClassEntity;
import io.common.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 班级表
 *
 * @author BS #
 * @since 1.0.0 2024-04-28
 */
@Mapper
public interface ClassDao extends BaseDao<ClassEntity> {


    @Select("SELECT * FROM `tb_class` WHERE speciality_id =${id}")
    List<ClassEntity> getListClass(Long id);
}